package com.delayqueue.common.enums;

public enum MessageType {
    CORE_ONLINE("core节点上线"),
    MASTER_ONLINE("master节点上线"),
    MASTER_OFFLINE("master节点下线"),
    MASTER_ALL("所有master节点"),
    TASK_NEW("新的task"),
    TASK_DELETE("删除task");


    private String name;

    MessageType(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }
}